package com.itcs.app.util;

import java.util.Map;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;


public class test {
	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
//		XzzfPay a = new XzzfPay();
//		a.zs("13", "支付测试", "有钱", "1", "",String.valueOf(System.currentTimeMillis()));
//		XzzfPay.gzh("13", "支付测试", "有钱", "1", "",String.valueOf(System.currentTimeMillis()));
		
//		Map<String, String> gzhcx = XzzfPay.gzhcx("1514820748513","13");//G16480100100103010010171209153612
//		System.out.print(gzhcx.get("transStatus"));
		
		
		
		String mhtOrderNo = String.valueOf(System.currentTimeMillis());
		String mhtOrderAmt = "2";
		String channelAuthCode = "134618100274119935";
		
		Map<String, String> mbs = XzzfPay.bs("支付测试", "有钱", mhtOrderAmt, "",mhtOrderNo,channelAuthCode);
		System.out.println("========mbs:"+mbs);
		
		while (true) {
			Thread.sleep(5000);
			XzzfPay.bscx(mhtOrderNo, "12");
		}
			
		
	}
	
	/**
	 *  V3芳
	 *  SpayChannelType//支付渠道
	 *	mhtOrderName//订单名称
	 *	mhtOrderDetail//订单详情
	 *	mhtOrderAmt//订单金额
	 *	mhtReserved//mhtReserved
	 * */

}
